package com.book.book.dao;

import com.book.book.domain.CategoryDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 图书分类表
 * @author siyuan
 * @email 894266364.com
 * @date 2018-01-27 10:53:23
 */
@Mapper
public interface CategoryDao {

	CategoryDO get(Integer catId);

	List<CategoryDO> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int save(CategoryDO category);

	int update(CategoryDO category);

	int remove(Integer cat_id);

	int batchRemove(Integer[] catIds);
}
